package org.jeecg.modules.bicycle.locus.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 电动车运动轨迹列表
 * @Author: 月月鸟
 * @Date:   2021-07-13
 * @Version: V1.0
 */
@Data
@ApiModel(value="电动车运动轨迹列表", description="电动车运动轨迹列表")
public class BikeVehicleElectLocusRes implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**车辆编号*/
	@Excel(name = "车辆编号", width = 15, dictTable = "bike_vehicle", dicText = "code", dicCode = "code")
	@Dict(dictTable = "bike_vehicle", dicText = "code", dicCode = "code")
    @ApiModelProperty(value = "车辆编号")
    private String vehicleCode;
	/**车辆自编号*/
	@Excel(name = "车辆自编号", width = 15)
    @ApiModelProperty(value = "车辆自编号")
    private String oneselfCode;
	/**车辆速度*/
	@Excel(name = "车辆速度", width = 15)
    @ApiModelProperty(value = "车辆速度")
    private String vehicleSpeed;
	/**车经度*/
	@Excel(name = "车经度", width = 15)
    @ApiModelProperty(value = "车经度")
    private String longitude;
	/**车纬度*/
	@Excel(name = "车纬度", width = 15)
    @ApiModelProperty(value = "车纬度")
    private String latitude;
	/**剩余电量*/
	@Excel(name = "剩余电量", width = 15)
    @ApiModelProperty(value = "剩余电量")
    private String electricKeep;
	/**设备状态*/
	@Excel(name = "设备状态", width = 15, dicCode = "bike_status")
	@Dict(dicCode = "bike_status")
    @ApiModelProperty(value = "设备状态")
    private String vehicleStatus;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;

	/**当前里程*/
	private String distance;

    /**总里程*/
    private String allDistance;
    /**最近网点以及距离*/
    private String station;
}
